Skip to content

handle more errors gracefully#113

Merged
matthew-rosen-12 merged 32 commits intomainfrom
mhr.estimates.errors
Apr 2, 2026
Merged

handle more errors gracefully#113
matthew-rosen-12 merged 32 commits intomainfrom
mhr.estimates.errors

Conversation

@matthew-rosen-12
Copy link
Copy Markdown
Contributor

@matthew-rosen-12 matthew-rosen-12 commented Mar 31, 2026

handle more errors gracefully, including sanitizing API error responses
The returned error for tool calls when the API raises an error now looks like the below:
with code changes:
Screenshot 2026-04-02 at 1 44 03 PM
currently:
Screenshot 2026-04-02 at 1 44 14 PM

michellekeoy and others added 30 commits March 19, 2026 16:39
* draft

* complete TODOs

* change order

* test full responses

* update tool tests

* add object tests

* clean up tests

* remove aliases

* remove from all tools

* update change log

* revert

* Add new tools to ALL_TOOLS

* draft

* complete TODOs

* change order

* test full responses

* update tool tests

* add object tests

* clean up tests

* remove aliases

* remove from all tools

* update change log

* revert

* pull async changes

* rebase

* update changlog

---------

Co-authored-by: Michelle Keoy <michelle.keoy@kensho.com>
Co-authored-by: matthew-rosen-12 <matthewhrosen@gmail.com>
Co-authored-by: jsanders-py <jordanmsanders17@gmail.com>
@matthew-rosen-12 matthew-rosen-12 marked this pull request as ready for review April 2, 2026 17:48
@matthew-rosen-12 matthew-rosen-12 merged commit 2e31cbb into main Apr 2, 2026
6 checks passed
@matthew-rosen-12 matthew-rosen-12 deleted the mhr.estimates.errors branch April 2, 2026 23:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants